package com.sxyjhh.dbutil.basic;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Description:前置机配置泪
 *
 * @JDK Version:1.8.0_40
 * Version: V1.0
 * Author: xlz
 * Date: 2016/3/30 10:16
 */
@Data
@NoArgsConstructor
public class FrontEndVo<T> implements Serializable {
    Integer executeImmediately; //任务是否立即执行 (0:不立即执行，1：立即执行)
    Date firstExecuteTime;   //任务首次执行时间
    Long intervalTime;    //任务执行间隔时间

    Map<String, List<Map>> records = new HashMap();
    Map<String, String> columnMap = new HashMap();

    /**
     * ConstConfig.DAQState.SUCESS = "1";
     * ConstConfig.DAQState.FAIL = "2";
     * 采集状态
     */
    String state;//采集是否成功状态
    String reason;//失败原因

}
